package stud.mpgame.net.description;

import stud.mpgame.net.command.ArrowKeyCommand;
import stud.mpgame.network.MessageDescription;

public class ArrowKeyCommandMessageDescription extends MessageDescription {
	
    private static final int ID = IDescriptionManager.ARROW_KEY_COMMAND_MESSAGE_DESCRIPTION;

    public static final int ARROW_KEY_USER_OBJECT = 1;

    private static ArrowKeyCommandMessageDescription instance = null;

    public int getID() {
        return ID;
    }

    private ArrowKeyCommandMessageDescription() {
        this.registerUserObject(ARROW_KEY_USER_OBJECT, ArrowKeyCommand.class);
    }

    public static ArrowKeyCommandMessageDescription getInstance() {
        if(instance == null){
            instance = new ArrowKeyCommandMessageDescription();
        }
        return instance;
    }

}